//引入axios实例
import http from "@/util/request";

// 全部查询，按条件查询
export function selectByCondition(val){
    return http({
        method: "GET",
        url:"user/selectByCondition",
        params:val
    })
}

// 重置密码
export function resetPassword(userId){
    return http({
        method:"PUT",
        url:`/user/resert/${userId}`
    })
}

// 拉黑用户
export function userBlock(){
    return http({
        method:"Delete",
        url:"user/userBlock",
        params:val
    })
}


// export function getCheckCompany(val){
//     return http({
//         method:"GET",
//         url:"/company/getCheckCompany",
//         params: val
//     })
// }